// ===============================================
// profile_page
//
// Create by Will on 2024/12/4 22:15
// Copyright @flutter_base.All rights reserved.
// ===============================================

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';

class ProfilePage extends StatefulWidget {
  const ProfilePage({super.key});

  @override
  State<ProfilePage> createState() => _ProfilePageState();
}

class _ProfilePageState extends State<ProfilePage> {
  @override
  Widget build(BuildContext context) {
    return CupertinoPageScaffold(
      backgroundColor: Colors.transparent,
      navigationBar: CupertinoNavigationBar(
        middle: const Text('Profile'),
        trailing: InkWell(
          onTap: () => context.go('./settings'),
          child: const Icon(
            CupertinoIcons.settings,
            size: 30,
          ),
        ),
      ),
      child: Container(),
    );
  }
}
